package com.springboot.erp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.springboot.erp.entity.JshSupplier;

public interface JshSupplierService {
    Page<JshSupplier> selectForPagesSupI(String supplier, String phone, String telephone,
                                         int current, int size,
                                         String orderBy,
                                         boolean asc);

    void addOne(JshSupplier jshSupplier);

    void updateOne(JshSupplier jshSupplier);

    void deleteOne(Integer id);

    Page<JshSupplier> selectForPagesSupIC(String supplier, String phone, String telephone,
                                         int current, int size,
                                         String orderBy,
                                         boolean asc);

    void addOneC(JshSupplier jshSupplier);

    void updateOneC(JshSupplier jshSupplier);

    void deleteOneC(Integer id);
}
